package com.cloud.bssp.chinesenewyear.grabredenvelope.entity;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @description： 红包
 * @author：weirx
 * @date：2022/1/6 9:37
 * @version：3.0
 */
@Data
public class RedEnvelopeDO {

    /**
     * 红包id
     */
    private Integer id;

    /**
     * 红包名称
     */
    private String name;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 发红包人的id
     */
    private Integer peopleId;

    public RedEnvelopeDO(String name, BigDecimal amount, Integer quantity, Integer peopleId) {
        this.name = name;
        this.amount = amount;
        this.quantity = quantity;
        this.peopleId = peopleId;
    }
}
